package com.xoa.service.meeting.impl;

import com.xoa.dao.meet.VideoConfMapper;
import com.xoa.model.meet.VideoConf;
import com.xoa.service.meeting.VideoConfService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VideoConfServiceImpl implements VideoConfService {

    @Autowired
    private VideoConfMapper videoConfMapper;

    //查询视频会议
    @Override
    public VideoConf getvideo(VideoConf videoConf) {
        return videoConfMapper.selectByPrimaryKey(videoConf.getId());
    }


    //编辑
    @Override
    public Integer updetevideo(VideoConf videoConf) {
        return videoConfMapper.updateByPrimaryKeySelective(videoConf);
    }

    //新增
    @Override
    public Integer insertvideo(VideoConf videoConf) {
        return videoConfMapper.insertSelective(videoConf);
    }
}
